#ifndef GROUP_H
#define GROUP_H

#include <string>
#include <vector>
#include "groupuser.hpp"

using namespace std;

class Group {
public:
    Group(int groupId = -1, string groupName = "", string groupDesc = "") {
        this->groupId_ = groupId;
        this->groupName_ = groupName;
        this->groupDesc_ = groupDesc_;
    }

    void setGroupId(int groupId) {this->groupId_ = groupId;}
    void setGroupName(string groupName) {this->groupName_ = groupName;}
    void setgroupDesc(string groupDesc) {this->groupDesc_ = groupDesc;}
    
    int getGroupId() {return this->groupId_;}
    string getGroupName() {return this->groupName_;}
    string getGroupDesc() {return this->groupDesc_;}
    vector<GroupUser> &getGroupUsers() {return this->users;}
private:
    int groupId_;
    string groupName_;
    string groupDesc_;
    vector<GroupUser> users;
};

#endif